package com.liumo.domain;

import java.util.Scanner;

public abstract class User {
    protected String username;
    protected String password;

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public abstract void login();
    public abstract void start(Scanner scan);

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }
}